TARGET=olimex-rgb-microphone
ARCH=LPC13
CPU=$(ARCH)43
DEBUG=-g
OPTIM=-Os -mword-relocations
LED_COUNT=64

APP_CFLAGS=-Iinc -std=gnu99 -fgnu89-inline -D__USE_CMSIS -DDISPLAY_FREQ_STEPS=$(LED_COUNT)
APP_LDFLAGS=

APP_SRC= \
  src/usbserial.c \
  src/main.c

APP_SRC+=$(IMAGES_C)

all: $(TARGET).bin

indent:
	find src inc -iname '*.[ch]' -exec indent -c81 -i4 -cli4 -bli0 -ts 4 \{\} \;
	rm -f src/*.[ch]~ inc/*.[ch]~

app_clean:
	find src -name '*.o' -exec rm \{\} \;

include ../core/Makefile.rules
